﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JFModel.Const
{
    public class UserRole
    {
        public const int SUPERADMIN = 0;
        public const int ADMIN = 1;
        public const int FX = 2;
        public const int BUSINESS = 3;
        public const int SALER = 4;

        public static string GetUserRoleString(int userRole)
        {
            string str = "未知";
            switch (userRole)
            { 
                case SUPERADMIN:
                    str = "超级管理员";
                    break;
                case ADMIN:
                    str = "大区经理";
                    break;
                case FX:
                    str = "分销接口";
                    break;
                case BUSINESS:
                    str = "业务员";
                    break;
                case SALER:
                    str = "营业厅";
                    break;
            }
            return str;
        }
    }


    

}
